package com.addplus.townmall.server.web.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author fuyq
 * @date 2018/8/22
 */
@SpringBootApplication
@ServletComponentScan
@ComponentScan(basePackages = {"com.addplus.townmall.server"})
@EnableTransactionManagement
@EnableAsync
public class TownMallWebConsumerApplication {

    public static void main(String[] args) {
        SpringApplication.run(TownMallWebConsumerApplication.class, args);
    }
}
